﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rappelz.GameServer
{
    public class QuestInstance
    {
        public const int MaxStatus = 6;
        public const int MaxRandomValue = 3;

        public enum QuestProgress : int
        {
            NotStarted = 0,
            InProgress = 1,
            Finished = 255,
        }
        // public QuestInstance()
        public int nId;                             // 0x0
        public int Code;                            // 0x4
        public uint nTime;       
        public int[] nStatus = new int[MaxStatus];  // 0x8
        public QuestProgress nProgress;             // 0x20
        public int nStartID;                        // 0x24
        public int[] nRandomKey = new int[MaxRandomValue];      // 0x28
        public int[] nRandomValue = new int[MaxRandomValue];    // 0x34
        public NPC start_npc;
    }
}
